package com.iot.sdk.service;

import com.dc3.common.model.*;

/**
 * @Author 咕唧
 * @Date 2022/7/26 21:13
 * @Version 1.0
 */
public interface DriverMetadataService {
    void init();

    void upsertProfile(Profile profile);

    void deleteProfile(String id);

    void upsertDevice(Device device);

    void deleteDevice(String id);

    void upsertPoint(Point point);

    void deletePoint(String profileId, String id);

    void upsertDriverInfo(DriverInfo driverInfo);

    void deleteDriverInfo(String deviceId, String driverAttributeId);

    void upsertPointInfo(PointInfo pointInfo);

    void deletePointInfo(PointInfo pointInfo);
}
